package com.zhonghui.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * @author: FL
 * @create: 2024 2024/5/5 19:11
 */
@Data
@Builder
@ApiModel(value = "订单信息实体类")
public class OrderInfo {
    private Long id;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Long createUser;
    private Long updateUser;
    private boolean deleteFlag;
    private String orderNo;
    private BigDecimal payment;
    @ApiModelProperty(value = "支付类型 0未支付 1已支付")
    private Integer paymentType;
    private String paymentTypeDesc;
    private BigDecimal postage;
    private boolean status;
    private String statusDesc;
    private Date paymentTime;
    private Long addressId;
    private String receiveName;
    private String receivePhone;
    private String province;
    private String city;
    private String area;
    private String street;
    private String postalCode;
    private Long  userId;
}

